ul#nav{list-style:none;float:left;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;overflow: hidden}
ul#nav li{overflow:hidden;float:left;height:40px;}
ul#nav a,ul#nav span{font-size:13px;font-weight:bold;padding:10px 20px;float:left;clear:both;color:#fff;text-decoration:none;line-height:20px;width:100%;height:20px;background:url(bg.png) repeat-x top left;}
ul#nav a{font-size:13px;font-weight:bold;color:#fff;background-position:left bottom;}
ul#nav span{cursor:pointer;background-position:left top;}